<template>
	<view class="gui-flex gui-space-between ql-align-center mb15">
		<view class="gui-color-black1 fz16 fb" :class="[fsize]">{{title}}</view>
		<view class="fz11 gui-color-gray" @click="handleClick" v-if="showmore">{{ctitle}}<text class="gui-icons ml2 fb">&#xe601;</text></view>
	</view>
</template>

<script>
	export default {
		props:{
			fsize:{
				type:String,
				default:"fz14"
			},
			title:{
				type:String,
				default:"历史记录"
			},
			ctitle:{
				type:String,
				default:"查看更多"
			},
			showmore:{
				type:Boolean,
				default:true
			}
		},
		name:"nav",
		data() {
			return {
				
			}
		},
		methods:{
			handleClick(){
				this.$emits("clear")
			}
		}
	}
</script>
<style scoped lang="scss">

</style>